MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 60
Dependencies 28
Dependents 3
Total lines 368
Lines of code 242
Logical lines of code 166
Comment lines 33
Methods 10
Properties 14

Methods 10

Method Rating Maintainability Complexity Lines of code
save()
A
46 11 36
updateNewsletter()
A
50 10 29
updateSegments()
A
50 9 30
duplicate()
S
45 6 42
updateQueue()
S
54 6 21
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
__construct()
S
58 1 16